/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * <p>Project: javase202202 - Format3
 * <p>Powered by Lisi On 2022-05-30 10:00:58
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class Format3 {
    public static void main(String[] args) {
        Date date = new Date();
        //简单的日期格式工具类
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        System.out.println(sdf.format(date));
    }
}
